using System;

class Shuixianhua
{
    public static void PrintNumbers()
    {
        Console.WriteLine("1000以内水仙花数（调用工具类）：");
        for (int num = 100; num < 1000; num++)
        {
            int u = num % 10, t = (num / 10) % 10, h = num / 100;
            if (u*u*u + t*t*t + h*h*h == num)
            {
                Console.Write(num + " ");
            }
        }
    }
}